
package ae.pcfc.etks.finance.types.v2;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for clientTransactionType complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="clientTransactionType">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="paymentAdvice" type="{http://pcfc.ae/etks/finance/types/v2}paymentAdviceType"/>
 *         &lt;element name="reciepts" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="receipt" type="{http://pcfc.ae/etks/finance/types/v2}receiptType" maxOccurs="unbounded" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *         &lt;element name="debitNotes" minOccurs="0">
 *           &lt;complexType>
 *             &lt;complexContent>
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 &lt;sequence>
 *                   &lt;element name="debitNote" type="{http://pcfc.ae/etks/finance/types/v2}debitNoteType" maxOccurs="unbounded" minOccurs="0"/>
 *                 &lt;/sequence>
 *               &lt;/restriction>
 *             &lt;/complexContent>
 *           &lt;/complexType>
 *         &lt;/element>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "clientTransactionType", propOrder = {
    "paymentAdvice",
    "reciepts",
    "debitNotes"
})
public class ClientTransactionType {

    @XmlElement(required = true)
    protected PaymentAdviceType paymentAdvice;
    protected ClientTransactionType.Reciepts reciepts;
    protected ClientTransactionType.DebitNotes debitNotes;

    /**
     * Gets the value of the paymentAdvice property.
     * 
     * @return
     *     possible object is
     *     {@link PaymentAdviceType }
     *     
     */
    public PaymentAdviceType getPaymentAdvice() {
        return paymentAdvice;
    }

    /**
     * Sets the value of the paymentAdvice property.
     * 
     * @param value
     *     allowed object is
     *     {@link PaymentAdviceType }
     *     
     */
    public void setPaymentAdvice(PaymentAdviceType value) {
        this.paymentAdvice = value;
    }

    /**
     * Gets the value of the reciepts property.
     * 
     * @return
     *     possible object is
     *     {@link ClientTransactionType.Reciepts }
     *     
     */
    public ClientTransactionType.Reciepts getReciepts() {
        return reciepts;
    }

    /**
     * Sets the value of the reciepts property.
     * 
     * @param value
     *     allowed object is
     *     {@link ClientTransactionType.Reciepts }
     *     
     */
    public void setReciepts(ClientTransactionType.Reciepts value) {
        this.reciepts = value;
    }

    /**
     * Gets the value of the debitNotes property.
     * 
     * @return
     *     possible object is
     *     {@link ClientTransactionType.DebitNotes }
     *     
     */
    public ClientTransactionType.DebitNotes getDebitNotes() {
        return debitNotes;
    }

    /**
     * Sets the value of the debitNotes property.
     * 
     * @param value
     *     allowed object is
     *     {@link ClientTransactionType.DebitNotes }
     *     
     */
    public void setDebitNotes(ClientTransactionType.DebitNotes value) {
        this.debitNotes = value;
    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="debitNote" type="{http://pcfc.ae/etks/finance/types/v2}debitNoteType" maxOccurs="unbounded" minOccurs="0"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "debitNote"
    })
    public static class DebitNotes {

        protected List<DebitNoteType> debitNote;

        /**
         * Gets the value of the debitNote property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the debitNote property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getDebitNote().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link DebitNoteType }
         * 
         * 
         */
        public List<DebitNoteType> getDebitNote() {
            if (debitNote == null) {
                debitNote = new ArrayList<DebitNoteType>();
            }
            return this.debitNote;
        }

    }


    /**
     * <p>Java class for anonymous complex type.
     * 
     * <p>The following schema fragment specifies the expected content contained within this class.
     * 
     * <pre>
     * &lt;complexType>
     *   &lt;complexContent>
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       &lt;sequence>
     *         &lt;element name="receipt" type="{http://pcfc.ae/etks/finance/types/v2}receiptType" maxOccurs="unbounded" minOccurs="0"/>
     *       &lt;/sequence>
     *     &lt;/restriction>
     *   &lt;/complexContent>
     * &lt;/complexType>
     * </pre>
     * 
     * 
     */
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "", propOrder = {
        "receipt"
    })
    public static class Reciepts {

        protected List<ReceiptType> receipt;

        /**
         * Gets the value of the receipt property.
         * 
         * <p>
         * This accessor method returns a reference to the live list,
         * not a snapshot. Therefore any modification you make to the
         * returned list will be present inside the JAXB object.
         * This is why there is not a <CODE>set</CODE> method for the receipt property.
         * 
         * <p>
         * For example, to add a new item, do as follows:
         * <pre>
         *    getReceipt().add(newItem);
         * </pre>
         * 
         * 
         * <p>
         * Objects of the following type(s) are allowed in the list
         * {@link ReceiptType }
         * 
         * 
         */
        public List<ReceiptType> getReceipt() {
            if (receipt == null) {
                receipt = new ArrayList<ReceiptType>();
            }
            return this.receipt;
        }

    }

}
